package top.huhuiyu.springboot.study.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.huhuiyu.springboot.study.entity.FootballClub;

import java.util.List;

/**
 * 足球俱乐部的数据访问接口
 *
 * @author 胡辉煜
 */
@Mapper
public interface FootballClubMapper {

  int delete(Integer fcid);

  int update(FootballClub footballClub);

  int add(FootballClub footballClub);

  FootballClub queryByKey(Integer fcid);

  List<FootballClub> query(@Param("c") FootballClub club,@Param("order") Integer order);

}
